const fs = require('fs')
const path = require('path');
const rq2  = fs.createReadStream(path.join(__dirname,'./logo.png'));
const ws = fs.createWriteStream(path.join(__dirname,'./vue.png'))

rq2.pipe(ws)